//
//  BaseViewController.m
//  OnlineOrderMeals
//
//  Created by Truekey on 14-8-1.
//  Copyright (c) 2014年 mobi.truekey. All rights reserved.
//

#import "BaseViewController.h"

@interface BaseViewController ()

@end

@implementation BaseViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
//    self.view.backgroundColor = YELLOWCOLOR;
//    if ([UIViewController instancesRespondToSelector:@selector(setEdgesForExtendedLayout:)]) {
//        self.edgesForExtendedLayout = UIRectEdgeNone;
//        self.automaticallyAdjustsScrollViewInsets = NO;
////        self.extendedLayoutIncludesOpaqueBars = NO;
////        self.modalPresentationCapturesStatusBarAppearance = NO;
////        self.wantsFullScreenLayout = NO;
//        //self.navigationController.navigationBar.barTintColor =[UIColor colorWithHexString:@"#606671"];
//    }
//    self.navigationController.navigationBar.translucent = NO;
//    
//    
//    if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7) {
//        
////        self.view.frame =  CGRectMake(0,-20,self.view.frame.size.width,self.view.frame.size.height-20);
//        
//        //Added on 19th Sep 2013
////        self.view.bounds = CGRectMake(0, -20, self.view.bounds.size.width, self.view.bounds.size.height);
////        self.view.backgroundColor = [UIColor yellowColor];
////        UIImageView *imgv = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"KITAHAMA_BG"]];
////        [imgv setFrame:CGRectMake(0.f, 20.f, self.view.frame.size.width, self.view.frame.size.height - 20.f)];
////        [self.view insertSubview:imgv atIndex:0];
//        NSLog(@"bouns");
//        
//        
//        
//    }
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
